/*Real Time Clock routines*/
#ifndef RTCTASK_H
#define RTCTASK_H

/*Standard include files*/
#include <stdint.h>

/* Scheduler include files. */
#include "FreeRTOS.h"
#include "task.h"

/*Header File*/

/*Definitions*/
#define RTC_STACK_SIZE 32

/*Constants*/

/*Variable Definition*/

/*Public Functions and procedures Declaration*/
void vRtcTask(void *pvParameters);
extern void rtc_init(void);

/*Macro definitions*/
#define vRtcTaskStart() rtc_init(); xTaskCreate( vRtcTask, "RTC", RTC_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1, NULL ); 
#endif //RTCTASK_H
